package com.aistar.service;

import com.aistar.pojo.Program;
import com.aistar.util.ServerResponse;

public interface ProgramService {
    ServerResponse add(Program program);
    ServerResponse delete(Integer id);
    ServerResponse getById(Integer id);
    ServerResponse modify(Program program);
    ServerResponse getByPage(Integer pageNum, Integer pageSize);
    ServerResponse getByKeywords(Integer pageNum, Integer pageSize, String keywords);
    ServerResponse getHot(Integer pageSize);
    ServerResponse getAll();
}
